package com.dream.technology.service.impl;

import com.dream.technology.db.dao.RcFieldTypeMapper;
import com.dream.technology.db.entity.RcFieldType;
import com.dream.technology.db.entity.RcFieldTypeQuery;
import com.dream.technology.service.RcFieldTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("rcFieldTypeService")
public class RcFieldTypeServiceImpl implements RcFieldTypeService {

    @Autowired
    RcFieldTypeMapper rcFieldTypeMapper;

    @Override
    public int countByExample(RcFieldTypeQuery example) {
        return rcFieldTypeMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(RcFieldTypeQuery example) {
        return rcFieldTypeMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return rcFieldTypeMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(RcFieldType record) {
        return rcFieldTypeMapper.insert(record);
    }

    @Override
    public int insertSelective(RcFieldType record) {
        return rcFieldTypeMapper.insertSelective(record);
    }

    @Override
    public List<RcFieldType> selectByExample(RcFieldTypeQuery example) {
        return rcFieldTypeMapper.selectByExample(example);
    }

    @Override
    public RcFieldType selectByPrimaryKey(Long id) {
        return rcFieldTypeMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(RcFieldType record, RcFieldTypeQuery example) {
        return rcFieldTypeMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(RcFieldType record, RcFieldTypeQuery example) {
        return rcFieldTypeMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(RcFieldType record) {
        return rcFieldTypeMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(RcFieldType record) {
        return rcFieldTypeMapper.updateByPrimaryKey(record);
    }
}
